<%@taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@taglib uri="http://struts.apache.org/tags-html" prefix="h"%>

<!DOCTYPE html>

<html lang="pt-br" ng-app="loginApp">
<head>


<meta charset="UTF-8">
<title>Login</title>
<link rel="shortcut icon" href="resources/images/java.ico" />
<link rel="stylesheet"
	href="http://netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css">
<link rel="stylesheet" href="resources/css/bootstrap.min.css" />
<link rel="stylesheet" type="text/css" href="resources/css/custom/main.css"
	media="screen" />
<link rel="stylesheet" type="text/css" href="resources/css/custom/login.css"
	media="screen" />



<script type="text/javascript" src="resources/js/jquery.js"></script>
<script type="text/javascript" src="resources/js/custom/ajax.js"></script>
<script type="text/javascript" src="resources/js/angular.js"></script>
<script type="text/javascript" src="resources/js/custom/login.js"></script>
</head>
<body class="body">
	<div class="msg "></div>


	<form class="FrmLogin" class="form-login" id="FrmLogin" name="FrmLogin"
		ng-controller="loginController" ng-submit="processFormLogin()"
		novalidate>

		<fieldset class="form  radius">
			<div class="title">
				<span class="h1">Login do Sistema</span>
			</div>


			<div class="form-field" ng-class="{'has-success':!FrmLogin.txtEmail.$valid && !FrmLogin.txtEmail.$dirty }">
				<label>Login :</label> 
				<input type="email" class="user form-control" ng-model="loginData.txtLogin" name="txtLogin" required/>
			</div>
			
			

			<div class="form-field  form-group" ng-class="{ 'has-error':!FrmLogin.txtPassword.$valid && !FrmLogin.txtPassword.$dirty}">
				<label>Senha:</label> <input type="password"
					class="key form-control" name="txtPassword"
					ng-model="loginData.txtPassword" required  ng-minlength="5"/>
			</div>
			<div class="form-actions">
				<button type="submit" class="btn btn-primary" ng-disabled="FrmLogin.$invalid" ng-click="">Entrar</button>
			</div>
		</fieldset>


	</form>

</body>

<div class="close" id="loading" style="display: none">
	<div id="content-loading">
		<div class="loading" id="loading_1G"></div>
		<div class="loading" id="loading_2G"></div>
		<div class="loading" id="loading_3G"></div>
		<div class="loading" id="loading_4G"></div>
		<div class="loading" id="loading_5G"></div>
		<div class="loading" id="loading_6G"></div>
		<div class="loading" id="loading_7G"></div>
		<div class="loading" id="loading_8G"></div>

		<span class="">Aguarde . . . </span>
	</div>
</div>

</html>